package cn.zhf.shop.mapper;

import cn.zhf.shop.entity.order.OrderDetail;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderDetailMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(OrderDetail record);

    OrderDetail selectByPrimaryKey(Integer id);

    int updateByPrimaryKey(OrderDetail record);

    List<OrderDetail> selectByOrderId(String orderId);
}
